projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a3ffec
)
build: Make script interpreter optional
author
Benjamin Otte
<otte@redhat.com>
Thu, 30 May 2019 16:34:51 +0000
(18:34 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 30 May 2019 16:34:51 +0000
(18:34 +0200)
Running the tests needs it though, so it's only optional without tests.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 3ea4ac57d2f15eb2be972b91bf51b28d80f8a0e5..2de01fac9c6a9530c8dda2cec1fd412f9c8855fb 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-461,7
+461,8
@@
if cc.get_id() == 'msvc'
endif
endif
-cairo_csi_dep = cc.find_library('cairo-script-interpreter')
+cairo_csi_dep = cc.find_library('cairo-script-interpreter',
+ required: get_option('build-tests'))
if not harfbuzz_dep.found()
harfbuzz_dep = dependency('harfbuzz', version: '>= 0.9', required: false,